package org.blackcat.core.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by Duo Duo on 2017/1/9.
 * 字段长度限制
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Length {
    public String value();
    public int min();
    public int max() default Integer.MAX_VALUE;
}
